import {IsNotEmpty} from 'class-validator';
import {ApiProperty} from '@nestjs/swagger';

export class DisabledUserDto {
    @IsNotEmpty({
        message: '用户id不能为空',
    })
    @ApiProperty({description: '用户id', required: true})
    id: string;

    @IsNotEmpty({
        message: '状态不能为空',
    })
    @ApiProperty({description: 'true 启用 false 禁用', required: true})
    status: boolean;

}
